package Data::Conveyor::Value::Ticket::RC_TEST;

# $Id: RC_TEST.pm 10704 2006-02-07 14:45:54Z gr $

use strict;
use warnings;


our $VERSION = '0.02';


use base 'Data::Conveyor::Test';


use constant PLAN => 16;


sub run {
    my $self = shift;
    $self->SUPER::run(@_);

    $self->apply_rc_ok('RC_OK' , 'RC_OK'             , 'RC_OK', 1);
    $self->apply_rc_ok('RC_OK' , 'RC_ERROR'          , 'RC_ERROR', 1);
    $self->apply_rc_ok('RC_OK' , 'RC_MANUAL'         , 'RC_MANUAL', 1);
    $self->apply_rc_ok('RC_OK' , 'RC_INTERNAL_ERROR' , 'RC_INTERNAL_ERROR', 1);

    $self->apply_rc_ok('RC_ERROR' , 'RC_OK'             , 'RC_ERROR', 1);
    $self->apply_rc_ok('RC_ERROR' , 'RC_ERROR'          , 'RC_ERROR', 1);
    $self->apply_rc_ok('RC_ERROR' , 'RC_MANUAL'         , 'RC_MANUAL', 1);
    $self->apply_rc_ok('RC_ERROR' , 'RC_INTERNAL_ERROR' , 'RC_INTERNAL_ERROR', 1);

    $self->apply_rc_ok('RC_MANUAL' , 'RC_OK'             , 'RC_MANUAL', 1);
    $self->apply_rc_ok('RC_MANUAL' , 'RC_ERROR'          , 'RC_MANUAL', 1);
    $self->apply_rc_ok('RC_MANUAL' , 'RC_MANUAL'         , 'RC_MANUAL', 1);
    $self->apply_rc_ok('RC_MANUAL' , 'RC_INTERNAL_ERROR' , 'RC_INTERNAL_ERROR', 1);

    $self->apply_rc_ok('RC_INTERNAL_ERROR' , 'RC_OK'             , 'RC_INTERNAL_ERROR', 1);
    $self->apply_rc_ok('RC_INTERNAL_ERROR' , 'RC_ERROR'          , 'RC_INTERNAL_ERROR', 1);
    $self->apply_rc_ok('RC_INTERNAL_ERROR' , 'RC_MANUAL'         , 'RC_INTERNAL_ERROR', 1);
    $self->apply_rc_ok('RC_INTERNAL_ERROR' , 'RC_INTERNAL_ERROR' , 'RC_INTERNAL_ERROR', 1);

    }


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - stage-based conveyor-belt-like ticket handling system

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet. This is an early release; fully functional, but undocumented. The
next release will have more documentation.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

